﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LPrisaMVC.Entities;

namespace LPrisaMVC.DAO
{
    public interface IDetalleCreditoDAO
    {
        DETALLE_CREDITO GetDetalleCreditoByCreditoIdAndProductoId(int idCredito, int idProd);
        List<DETALLE_CREDITO> GetFromDetalleCreditoByProductoDescAndCreditoId(string descripcion, int idCredito);
        void RemoveDetalleCreditoByCreditoIdAndProductoId(int idCredito, int idProd);
        void UpdateDetalleCreditoByCreditoIdAndProductoId(int idCredito, int idProd);

        bool GetAllDetallesCredByCreditoId(int idCredito);
    }
}
